// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/store'
import BMessage from './plugins/BMessage/index'
import BUI from './plugins/BUI/index'
import 'babel-polyfill'

Vue.config.productionTip = false
console.log('Bmessage')
Vue.use(BMessage)
Vue.use(BUI)
if (process.env.NODE_ENV === 'development') {
  // for dev
  localStorage.setItem('userCode', '127436')
}

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
